Print out MFN in audit code, for debugging purposes.
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Sun, 30 Oct 2005 12:24:45 +0000 (13:24 +0100)
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Sun, 30 Oct 2005 12:24:45 +0000 (13:24 +0100)
Signed-off-by: Ewan Mellor <ewan@xensource.com>
xen/arch/x86/domain.c

index be471bd4752829268508084d7790de0f3b3afc7b..b269b29ef09a46bab5066486093200ef37b8f9ab 100644 (file)
@@ -189,22 +189,22 @@ void dump_pageframe_info(struct domain *d)
     {
         list_for_each_entry ( page, &d->page_list, list )
         {
-            printk("Page %p: caf=%08x, taf=%" PRtype_info "\n",
-                   _p(page_to_phys(page)), page->count_info,
+            printk("Page %p: mfn=%x, caf=%08x, taf=%" PRtype_info "\n",
+                   _p(page_to_phys(page)), page-frame_table, page->count_info,
                    page->u.inuse.type_info);
         }
     }
 
     list_for_each_entry ( page, &d->xenpage_list, list )
     {
-        printk("XenPage %p: caf=%08x, taf=%" PRtype_info "\n",
-               _p(page_to_phys(page)), page->count_info,
+        printk("XenPage %p: mfn=%x, caf=%08x, taf=%" PRtype_info "\n",
+               _p(page_to_phys(page)), page-frame_table, page->count_info,
                page->u.inuse.type_info);
     }
 
     page = virt_to_page(d->shared_info);
-    printk("Shared_info@%p: caf=%08x, taf=%" PRtype_info "\n",
-           _p(page_to_phys(page)), page->count_info,
+    printk("Shared_info@%p: mfn=%x, caf=%08x, taf=%" PRtype_info "\n",
+           _p(page_to_phys(page)), page-frame_table, page->count_info,
            page->u.inuse.type_info);
 }